import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_education_plan_entity.g.dart';

///查询培训计划详情[web-app]
@JsonSerializable()
class GetEducationPlanEntity {

	GetEducationPlanEntity();

	factory GetEducationPlanEntity.fromJson(Map<String, dynamic> json) => $GetEducationPlanEntityFromJson(json);
	String? assessorDate;
	String? assessorId;
	String? assessorName;
	String? companyCode;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? endTime;
	String? id;
	int? numberOfQualifiedPersonnel;
	int? numberOfUnqualifiedPersonnel;
	String? organizationalUnit;
	String? organizationalUnitName;
	String? place;
	String? planName;
	String? processAttachments;
	String? ratingAttachment;
	String? startTime;
	String? status;
	List<GetEducationPlanTextbookIds>? textbookIds;
	List<GetEducationPlanTextbooks>? textbooks;
	int? trainedHours;
	String? trainingChannels;
	int? trainingHours;
	String? trainingLevel;
	String? trainingLevelName;
	String? trainingMethods;
	String? trainingMethodsName;
	String? trainingType;
	String? trainingTypeName;
	String? updateBy;
	String? updateById;
	String? updateDate;
	List<GetEducationPlanUserIds>? userIds;
	List<GetEducationPlanUsers>? users;

	Map<String, dynamic> toJson() => $GetEducationPlanEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GetEducationPlanTextbookIds {

	GetEducationPlanTextbookIds();

	factory GetEducationPlanTextbookIds.fromJson(Map<String, dynamic> json) => $GetEducationPlanTextbookIdsFromJson(json);
	String? companyCode;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? id;
	int? textbookApproAch;
	String? textbookCrowd;
	String? textbookDateStart;
	String? textbookForm;
	String? textbookKeywords;
	String? textbookLecturerId;
	String? textbookLecturerName;
	String? textbookName;
	String? textbookOverview;
	String? textbookTypeDicId;
	String? updateBy;
	String? updateById;
	String? updateDate;
	int? viewNumber;

	Map<String, dynamic> toJson() => $GetEducationPlanTextbookIdsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GetEducationPlanTextbooks {

	GetEducationPlanTextbooks();

	factory GetEducationPlanTextbooks.fromJson(Map<String, dynamic> json) => $GetEducationPlanTextbooksFromJson(json);
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? id;
	String? planId;
	String? textbookId;
	String? textbookName;
	String? updateBy;
	String? updateById;
	String? updateDate;

	Map<String, dynamic> toJson() => $GetEducationPlanTextbooksToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GetEducationPlanUserIds {

	GetEducationPlanUserIds();

	factory GetEducationPlanUserIds.fromJson(Map<String, dynamic> json) => $GetEducationPlanUserIdsFromJson(json);
	int? allocation;
	String? areaCode;
	String? avatar;
	String? birthday;
	int? branchPersonInCharge;
	String? certificate;
	String? certificateNum;
	int? certificateRemind;
	String? certificateUrl;
	int? checkId;
	int? chemistry;
	String? companyCode;
	String? createBy;
	String? createDate;
	String? deleted;
	int? departManager;
	String? departmentName;
	String? description;
	String? documentUrl;
	String? education;
	String? email;
	String? endTime;
	String? firstTime;
	String? formId;
	String? id;
	int? isSystem;
	int? isViewAll;
	String? jobNumber;
	String? lastLoginTime;
	int? mainPersonInCharge;
	String? mobile;
	String? nickname;
	String? otherUid;
	String? personDictId;
	String? positionName;
	String? professionalName;
	GetEducationPlanUserIdsRoleIds? roleIds;
	int? safetyEngineer;
	int? samplingAnalysis;
	String? school;
	int? sex;
	String? sexName;
	String? sign;
	int? specialOperations;
	String? specialWorks;
	List<dynamic>? specialWorksArray;
	int? specialitySafe;
	String? starTime;
	int? status;
	int? taskCount;
	String? titleName;
	int? type;
	String? unitName;
	String? updateBy;
	String? updateDate;
	String? url;
	String? userType;
	String? username;
	List<dynamic>? workRoleId;
	String? workRoleName;

	Map<String, dynamic> toJson() => $GetEducationPlanUserIdsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GetEducationPlanUserIdsRoleIds {


	GetEducationPlanUserIdsRoleIds();

	factory GetEducationPlanUserIdsRoleIds.fromJson(Map<String, dynamic> json) => $GetEducationPlanUserIdsRoleIdsFromJson(json);

	Map<String, dynamic> toJson() => $GetEducationPlanUserIdsRoleIdsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GetEducationPlanUsers {

	GetEducationPlanUsers();

	factory GetEducationPlanUsers.fromJson(Map<String, dynamic> json) => $GetEducationPlanUsersFromJson(json);
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? id;
	String? planId;
	String? updateBy;
	String? updateById;
	String? updateDate;
	String? userId;
	String? userName;

	Map<String, dynamic> toJson() => $GetEducationPlanUsersToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
